-- GENERATED SPELL FOR [Shadethicket Wood Shaper] --


function spell0_3781(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(12747,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3781', 11500, 1)
end

function Sorts_3781(pUnit, Event)
local choix_sorts_3781 = math.random(0, 0)
if choix_sorts_3781 == 0 then
pUnit:RegisterEvent('spell0_3781', 1, 1)
end
end

function mob3781_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3781', math.random(1500, 3000), 1)
end

function mob3781_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3781_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3781_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3781, 1, 'mob3781_Action')
RegisterUnitEvent(3781, 2, 'mob3781_Leave')
RegisterUnitEvent(3781, 3, 'mob3781_Kill')
RegisterUnitEvent(3781, 4, 'mob3781_Die')
